import {createRouter,createWebHashHistory} from 'vue-router'

import Set from '../set.vue'
import Collect from '../collect.vue'
import Index from '../index.vue'
import Mine from '../mine.vue'
import Shoppingcart from '../shopping.vue'

const router = createRouter({
    history:createWebHashHistory(),
    routes:[
        {
            path:'/set',
            component:Set
        },
        {
            path:'/collect',
            component:Collect
        },
        {
            path:'/index',
            component:Index
        },
        {
            path:'/mine',
            component:Mine
        },
        {
            path:'/shopping',
            component:Shoppingcart
        },
    ]
})

export default router